<template>
   <div class="">
      <h1>我是App.vue 父组件</h1>
      <div>isShow:{{ isShow }}</div>
      <div>textVal:{{ textVal }}</div>
      <div><button @click="isShow = !isShow">开关</button></div>
      <hr>
      <vModelVue v-model:textVal.isBt="textVal" v-model="isShow"></vModelVue>
   </div>
</template>

<script setup lang='ts'>
import {ref ,reactive} from 'vue'
import vModelVue from './components/vModelVue.vue'
const isShow = ref<boolean>(true)
const textVal = ref<string>("inzv")
</script>

<style scoped>

</style>